package com.wclass.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * <p>
 * 验证码
 * </p>
 *
 * @author 张浩高
 * @since 2018-12-21
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("base_captcha")
@SuppressWarnings("serial")
public class BaseCaptcha extends SuperEntity<BaseCaptcha> {


    /**
     * 手机号
     */
    @ApiModelProperty("手机号")
    private String phone;
    /**
     * 验证码
     */
    @ApiModelProperty("验证码")
    private String captcha;
    /**
     * 有效时间
     */
    @ApiModelProperty("有效时间")
    @TableField("effective_time")
    private Date effectiveTime;


}
